package com.wenhai.exercise;

import org.springframework.util.StringUtils;

import java.util.Arrays;

/**
 * @Author:wenhai
 * @Description: Assert
 * @Date:2020/3/30
 */
public class AssertDemo {
    public static void main(String[] args) {
        String str = "1,2,3;4";
        System.out.println(Arrays.toString(StringUtils.tokenizeToStringArray(str, ",;")));

        System.out.println(Long.toString(-6, 2));

        System.out.println("单据号重复".contains("单据号重复;\n[单据号]RE1908220955275802700022"));

    }
}
